package com.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;

/* 读取表结构信息 */
public class Orders extends BaseEntity{
    
    public Orders() {

    }
    
    /* 序号  */
    private String id;
    /* 理赔人  */
    private String userId;
    /* 赔偿金额  */
    private BigDecimal price;
    /* 申请时间  */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")        
    private Date createDate;
    /* 保单  */
    private String insuranceId;
    /* 车险车辆  */
    private String carNo;
    /* 描述  */
    private String description;
    /* 状态  */
    private Integer state;
    
    public String getId() {
        return this.id;
    }
    public String getUserId() {
        return this.userId;
    }
    public BigDecimal getPrice() {
        return this.price;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getInsuranceId() {
        return this.insuranceId;
    }
    public String getCarNo() {
        return this.carNo;
    }
    public String getDescription() {
        return this.description;
    }
    public Integer getState() {
        return this.state;
    }
   
    public void setId(String id) {
        this.id = id;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setInsuranceId(String insuranceId) {
        this.insuranceId = insuranceId;
    }
    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public void setState(Integer state) {
        this.state = state;
    }
  
}